I am not sure if i should come out of the closet about my sexuality

I am a lesbian but still in the closet. How can my rights be protected depending on my sexuality. I am not sure if I should come out as a lesbian.